# -*-coding:utf-8 -*-
# File  : deviceWhiteAdd_api.py
# Time  ：2021/12/8 10:48
# Author：author name


from api.manage.manage_base import ManageBase


class DeviceWhiteAddApi(ManageBase):
    def __init__(self):
        """设备添加白名单接口"""
        super().__init__()
        self.url = self.host + "cloudlottery-manage/deviceWhiteList/add"
        self.json = {"deviceSn": "YCKJ02XX19090291", "agentId": "1e8bf3bc0a354ede9161252c0fbaae6c",
                     "operatorId": "c2705fe18f244897992bf3a5a36da710", "stationId": "9a261f077c224d36876d9971a1eb339b",
                     "province": "湖北省", "city": "武汉市", "area": "江岸区", "address": "[]"}
        self.method = "post"
